// 搭建express 服务器
const express = require('express')
const app = express()

//路由接口
const router = require('./router')
//使用路由接口
app.use('/api', router)



app.listen(8990, () => {
  console.log('express server running at http://127.0.0.1:8990')
})

